package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 流转单Circulation Bill
 */
@Entity
@Table(name = "B_CIR_BILL")
public class BCirBillEntity implements Serializable {
	private static final long serialVersionUID = 7179643426416641040L;
	private String id;
	private String bill_id;//单据ID
	private Date bill_time;//流转时间
	private Date action_end_time;//截止处理时间
	private String cir_unit_id;//流至部门
	private String src_unit_id;//来源部门
	private String active_user_id;//经手人，如果经过办公室的人转到施工部，则值是办公室的人员ID
	private Integer active;//0未读，1已读
	@Id
	@Column(name = "ID", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "ACTION_END_TIME")
	public Date getAction_end_time() {
		return action_end_time;
	}
	public void setAction_end_time(Date action_end_time) {
		this.action_end_time = action_end_time;
	}
	@Column(name = "BILL_ID")
	public String getBill_id() {
		return bill_id;
	}
	public void setBill_id(String bill_id) {
		this.bill_id = bill_id;
	}
	@Column(name = "BILL_TIME")
	public Date getBill_time() {
		return bill_time;
	}
	public void setBill_time(Date bill_time) {
		this.bill_time = bill_time;
	}
	@Column(name = "CIR_UNIT_ID")
	public String getCir_unit_id() {
		return cir_unit_id;
	}
	public void setCir_unit_id(String cir_unit_id) {
		this.cir_unit_id = cir_unit_id;
	}
	@Column(name = "SRC_UNIT_ID")
	public String getSrc_unit_id() {
		return src_unit_id;
	}
	public void setSrc_unit_id(String src_unit_id) {
		this.src_unit_id = src_unit_id;
	}
	@Column(name = "ACTIVE_USER_ID")
	public String getActive_user_id() {
		return active_user_id;
	}
	public void setActive_user_id(String active_user_id) {
		this.active_user_id = active_user_id;
	}
	@Column(name = "ACTIVE")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	
}
